<?php keke_tpl_class::checkrefresh('task/match/tpl/default/index', '1459833690' );?><!DOCTYPE HTML>
<!--[if lt IE 7]> <html dir="ltr" lang="zh-cn" id="ie6"> <![endif]-->
<!--[if IE 7]>    <html dir="ltr" lang="zh-cn" id="ie7"> <![endif]-->
<!--[if IE 8]>    <html dir="ltr" lang="zh-cn" id="ie8"> <![endif]-->
<!--[if gt IE 8]><!-->
<html dir="ltr" lang="zh-cn">
<!--<![endif]-->

<head>
  <title><?php echo $strPageTitle;?></title>
  <meta charset="<?php echo CHARSET;?>">
  <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
  <meta name="renderer" content="webkit">
  <meta name="keywords" content="<?php echo $strPageKeyword;?>">
  <meta name="description" content="<?php echo $strPageDescription;?>">
  <meta name="generator" content="曲率驱动出品专业威客<?php echo KEKE_VERSION;?>" />
  <meta name="viewport" content="width=device-width,initial-scale=1 ,user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style” content=black" />
  <meta name="author" content="kekezu" />
  <meta name="copyright" content="<?php echo $basic_config['copyright'];?>" />
  <meta property="qc:admins" content="1220311574763007636" />
  <meta property="wb:webmaster" content="6b685cd5f06ba5f1" />
  <link rel="shortcut icon" href="favicon.ico" />
  <link rel="apple-touch-icon" href="favicon.ico" />
    
  <?php if($do=='sellerlist') { ?>
  <link rel="stylesheet" type="text/css" href="/style/css/global.css"/>
  <link rel="stylesheet" type="text/css" href="/style/css/public.css"/>
     <link rel="stylesheet" type="text/css" href="/style/css/sellerlist.css"/>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js" type="text/javascript"></script>

   

  <?php } else { ?>
   <!--[if lt IE 9]>
    <script src="static/js/html5.js" type="text/javascript"></script>
    <script src="static/js/respond.min.js" type="text/javascript"></script>
<![endif]-->

<?php if($do=='index') { ?>
<script src="static/js/jquery.min.1.8.3.js"></script>
<!-- 幻灯片 -->
<script src="static/js/jqplugins/fotorama/fotorama.js"></script>
<!-- 滚动视图 -->
<script src="static/js/jqplugins/jcarousel/jquery.jcarousel.js"></script>
<script src="static/js/jqplugins/jcarousel/jquery.jcarousel.control.js"></script>
<script src="static/js/jqplugins/jcarousel/jquery.jcarousel.autoscroll.js"></script>
<?php } elseif($do=='goods') { ?>

<?php } elseif($do=='task') { ?>
<script src="http://apps.bdimg.com/libs/jquery/1.8.0/jquery.min.js"></script>
<?php } else { ?>
<script src="static/js/jquery.min.js"></script>
<?php } ?>
<script src="static/js/bootstrap.min.js"></script>
<script src="static/js/jquery.form.js"></script>
<script src="static/js/jquery.lazyload.js"></script>
<script src="static/js/bootstrap-datetimepicker.js"></script>
<script src="static/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="static/js/sco.confirm.js"></script>
<script src="static/js/sco.modal.js"></script>
<script src="static/js/sco.valid.js"></script>
<script src="static/js/holder.min.js"></script>
<script src="static/js/model/common/base.js"></script>
<script src="static/js/jquery.bgiframe.pack.js"></script>
<script src="static/js/jqplugins/jscroll/jquery.mousewheel.js"></script>
<script src="static/js/jqplugins/jscroll/jquery.jscrollpane.min.js"></script>
<script src="static/js/jquery.placeholder-enhanced.min.js" type="text/javascript"></script>
<!--
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=HlkMGAhFgon122p5ucBmnoEG"></script>
-->
<?php include(S_ROOT.'/control/include.php'); ?>

<link href="tpl/default/css/animate.css" rel="stylesheet" type="text/css">
<link href="tpl/default/css/rework.css" rel="stylesheet" type="text/css">
<link href="tpl/default/css/hongb.css" rel="stylesheet" type="text/css">


<!-- js超酷消息警告框插件  -->
<script type="text/javascript" src="static/js/swal/js/sweet-alert.min.js?r=<?php echo RANDOM_PARA;?>"></script>
<link rel="stylesheet" type="text/css" href="static/js/swal/css/sweet-alert.css">
  <link rel="stylesheet" type="text/css" href="/style/css/global.css"/>
  <link rel="stylesheet" type="text/css" href="/style/css/public.css"/>
  <?php if($do=='tasklist'||$do=='articlelist'||$do=='single'||$do=='article'||$do=='pubtask'||$do=='gy'||$do=='help'||$do=='order'||$do=='taskhandle') { ?>
<link href="/style/css/tasklist.css" rel="stylesheet" type="text/css">
<?php } ?>
<!--[if IE 7]>
<link rel="stylesheet" href="tpl/default/css/font-awesome-ie7.min.css">
<link href="tpl/default/css/ie7.css" rel="stylesheet" type="text/css">
<![endif]-->

<!--[if IE 8]>
  <link href="tpl/default/css/ie8.css" rel="stylesheet" type="text/css">
  <script src="static/js/IE8.js" type="text/javascript"></script>
<![endif]-->
  <?php } ?>
 
  
  <script type="text/javascript">
  var SITEURL = '<?php echo $_K['siteurl'];?>',
    SKIN_PATH = '<?php echo SKIN_PATH;?>',
    LANG = '<?php echo $language;?>',
    INDEX = '<?php echo $do;?>',
    CHARSET = '<?php echo CHARSET;?>';

  function closeErrors() {
    return true;
  }
  window.onerror = closeErrors;
  </script>
</head>

<body id="<?php echo $do;?>">
  
  
  
  <script>
  $(function() {
    var winWh = $(window).width();
    //console.log(winWh);

    if (winWh <= 640 && $(".nav-item-link").is(":visible") == true) {
      $('.nav-item-sub').hide();
      $('.nav-item').click(function() {

        var linkShow = $(this).children('.nav-item-sub');

        linkShow.toggle()
        $(this).siblings().children('.nav-item-sub').hide();
        //$(this).next('.nav-item-sub').toggle();

      });

    }

  })
  </script>
<?php if(!$_K['theme']) { ?>
<div class="ui_header_top">
  <div class="ui_header_center">
    <div class="ui_header_left"> <?php if($do!='index'||!$do) { ?> <a href="index.php?do=index" class="nav-item-link active">回到首页</a> <?php } ?> <a href="<?php echo $_K['siteurl'];?>/">欢迎您来到<?php echo $_K['sitename'];?></a>  <?php if($uid) { ?> <a href="index.php?do=logout" class="nav-item-link active">退出登陆</a><?php } ?></div>
    <div class="ui_header_right">
      <ul>
        <?php $uid=$_SESSION ['uid']; ?> 
        <?php $username=$_SESSION['username']; ?> 
        <?php if($uid) { ?>
        <li id="denglu"><a href="index.php?do=user&view=<?php echo $userUrl;?>" id="nings"><?php echo $username;?></a><a href="index.php?do=user&view=message&op=notice"><?php if($messagecount) { ?>(<?php echo $messagecount;?>)<?php } ?></a></li>
        <li><a href="index.php?do=user&view=gz&op=gy">我的订单</a></li>
        <li class="ui_header_icon"><a href="index.php?do=user&view=transaction&op=released" class="ui_header_icon_a">我是雇主</a>
          <dl>
           <dd><a href="index.php?do=user&view=transaction&op=released">已发任务</a></dd>
            <dd><a href="index.php?do=sellerlist">找服务商</a></dd>
            <dd><a href="index.php?do=pubtask">发布需求</a></dd>  
          </dl>
        </li>
        <li class="ui_header_icon"><a href="index.php?do=seller&id=<?php echo $uid;?>"  class="ui_header_icon_a">我是机构</a>
          <dl>
            <dd><a href="index.php?do=seller&id=<?php echo $uid;?>">我的店铺</a></dd>
            <dd><a href="index.php?do=user&amp;view=wk&amp;op=gy&amp;s=seller_confirm">新的雇佣</a></dd>
            <dd><a href="index.php?do=pubgoods&id=7&step=step1">发布服务</a></dd>
            <dd><a href="index.php?do=user&view=wk&op=mark">交易管理</a></dd>
            <dd><a href="index.php?do=user&view=shop&op=setting">店铺设置</a></dd>
          </dl>
        </li>
        <?php } else { ?>
        <li><a href="index.php?do=login">登录</a></li>
        <li><a href="index.php?do=register">免费注册</a></li>
        <li class="ui_header_icon"><a href="index.php?do=user&view=transaction&op=released" class="ui_header_icon_a">我是雇主</a>
          <dl>
            <dd><a href="index.php?do=sellerlist">找服务商</a></dd>
            <dd><a href="index.php?do=pubtask">发布需求</a></dd>
          </dl>
        </li>
        <li class="ui_header_icon"><a href="index.php?do=login"  class="ui_header_icon_a">我是机构</a>
          <dl>
            <dd><a href="index.php?do=seller&id=<?php echo $uid;?>">我的店铺</a></dd>
            <dd><a href="index.php?do=user&amp;view=wk&amp;op=gy&amp;s=seller_confirm">新的雇佣</a></dd>
            <dd><a href="index.php?do=pubgoods&id=7&step=step1">发布服务</a></dd>
            <dd><a href="index.php?do=user&view=wk&op=mark">交易管理</a></dd>
            <dd><a href="index.php?do=user&view=shop&op=setting">店铺设置</a></dd>
          </dl>
        </li>
        <?php } ?>
        <li><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo $_K['kefu_qq'];?>&amp;site=qq&amp;menu=yes"  target="_blank"  rel="nofollow">联系客服</a></li>
        <li class="ui_header_icon"><a href="index.php?do=help"  class="ui_header_icon_a">帮助中心</a>
          <dl>
            <dd><a href="index.php?do=help&id=296">帐号安全</a></dd>
            <dd><a href="index.php?do=help&id=310">相关认证</a></dd>
            <dd><a href="index.php?do=help&id=297">提现充值</a></dd>
            <dd><a href="index.php?do=help&id=346">交易维权</a></dd>
            <dd><a href="index.php?do=help&id=326">交易付款</a></dd>
            <dd><a href="index.php?do=help&id=347">违规</a></dd>
          </dl>
        </li>
        <div class="clear"></div>
      </ul>
    </div>
    <div class="clear"></div>
  </div>
</div>
<div class="header_ad"> 

<?php if($do=='index') { ?>
     <?php keke_loaddata_class::ad_show('HOME_CENTAL_THREE','task','1') ?><span id="top_close"> <img src="/style/img/close.png" /> </span> 
<?php } elseif($do=='goodslist') { ?>
<?php keke_loaddata_class::ad_show('SHOPLIST_HEAD','task','1') ?><span id="top_close"> <img src="/style/img/close.png" /> </span> 
<?php } elseif($do=='sellerlist') { ?>
<?php keke_loaddata_class::ad_show('SELLERLIST_HEAD','task','1') ?><span id="top_close"> <img src="/style/img/close.png" /> </span> 

<?php } elseif($do=='tasklist') { ?>
<?php keke_loaddata_class::ad_show('TASKLIST_HEAD','task','1') ?> <span id="top_close"> <img src="/style/img/close.png" /> </span> 
<?php } ?>

</div>
<!-- 首页顶部广告关闭按钮JS--> 
<script>
$("#top_close").click(function(){
       $(".header_ad").css("display","none");
  });
if ($('.header_ad a').length==0){ 
$(".header_ad").css("display","none");
}

  

</script> 
<!-- 首页顶部广告关闭按钮JS-->

<?php if($do=='index') { ?>
<?php } else { ?>
<!--搜索框部分开始-->
<div class="hseach">

    <?php switch($do){
      	case index:
        $daoming="首页";
        break; 
        case sellerlist:
         $daoming="服务机构";
        break;
        case goodslist:
       $daoming="服务商城";
      
        break;
        case tasklist:
        $daoming="需求大厅";
      
        break;
        case task:
          $daoming="需求大厅";
        break;
        case articlelist:
          $daoming="认证社区";
        break;
        case gy:
         $daoming="雇佣工作";
        break;
        case article:
          $daoming="认证社区";
        break;
        case help:
       $daoming="帮助中心";
        break;
        case single:
        $daoming="关于我们";
        break;
        case seller:
         $daoming="个人店铺";
        break;
        case user:
        $daoming="用户中心";
        break;  
        
        case goods:
        $daoming="服务商城";
        break; 
         case order:
        $daoming="服务商城";
        break;   
         case pubtask:
        $daoming="发布需求";
        break;  
        
         case pubgoods:
        $daoming="发布商品";
        break;  
         case taskhandle:
        $daoming="招标报价";
        break;  
        
      
        
      } ?>
    <div class="nlogo"><a href="/"><img src="<?php echo $strWebLogo;?>" alt="<?php echo $_K['sitename'];?><?php echo $daoming; ?>" /></a></div>
    <div class="sweizhi"><?php echo $daoming; ?></div>

    
    
    
    <div class="header_wrap_seach">
    <div class="header_seach">
      <form action="<?php if($do =='tasklist'||$do =='goodslist'||$do =='sellerlist') { ?><?php echo $strUrl;?><?php } else { ?>index.php?do=goodslist<?php } ?>" id="myform"  role="search"  method="post">
        <div class="seach_action_select_name"> <a id="seach_action_name"><?php if($do=='index') { ?>
     服务
<?php } elseif($do=='sellerlist') { ?>
服务商
<?php } elseif($do=='tasklist') { ?>
需求
<?php } else { ?>
服务
<?php } ?> </a>
          <ul id="searchOption">
            <li class="active"> <a id="tasklist" onclick="qiehuan('index.php?do=tasklist','需求')">需求</a> </li>
            <li > <a id="sellerlist" onclick="qiehuan('index.php?do=sellerlist','服务商')">服务商</a> </li>
            <li > <a id="goodslist" onclick="qiehuan('index.php?do=goodslist','服务')">服务</a> </li>
          </ul>
        </div>
        <input type="text" name="ky" id="search_test" placeholder="请输入关键词" value="<?php if($ky) { ?><?php echo $ky;?><?php } ?>"popup="true"  data-toggle="服务商" x-webkit-speech="" x-webkit-grammar="bUIltin:search" lang="zh-CN"  aria-haspopup="true" aria-expanded="false" autocomplete="off">
        <button type="submit" id="seach_submit"> 搜索 </button>
        <div class="clear"></div>
      </form>
      
      <!--搜索框代码--> 
      <script language="javascript">
function qiehuan(url,val){
 $("#seach_action_name").html(val);
 $(myform).attr("action",url);
 $(search_test).attr("data-toggle",val);
 $("#searchOption").hide();
  
}
$(".seach_action_select_name").hover(function(){
 $("#searchOption").show();
},function(){
    $("#searchOption").hide();
} )


  

</script> 
    </div>
    
  </div>
  <div class="header_release"> <span>或者</span> <a href="index.php?do=pubtask">免费发布需求</a>
    <div class="clear"></div>
  </div>
    <div class="clear"></div>
</div>
<!--搜索框部分结束-->
<?php } ?> 

<?php } elseif($_K['theme'] == 'new') { ?>
<!-- <link href="tpl/default/css-taobao-responsive/newStyle.css" rel="stylesheet" type="text/css">
<link href="tpl/default/css-taobao/newStyle.css" rel="stylesheet" type="text/css"> -->

<header class="header">
  <div class="container">
    <div class="header-website">
      <div class="brand-logo">
        <a href="<?php echo SITEURL;?>"><img src="<?php echo $strWebLogo;?>" alt="KPPW"></a>
      </div>
    </div>
    <!-- /header-website -->
    <div class="header-function">
      <div class="btn-group release-btnBox pull-right">
        <button type="button" class="btn release-btnSelect-box dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          <a href="index.php?do=pubtask">发布任务<span class="caret"></span></a>
        </button>
        <ul class="dropdown-menu release-select">
          <li class="active"><a href="index.php?do=pubtask">发布任务</a></li>
          <li><a href="index.php?do=pubgoods">发布商品</a></li>
        </ul>
      </div>
      <div class="header-or pull-right">或者</div>    
      <div class="header-search ui-header-search pull-right">
        <form action="<?php if($do =='tasklist'||$do =='goodslist'||$do =='sellerlist') { ?><?php echo $strUrl;?><?php } else { ?>index.php?do=tasklist<?php } ?>" role="search" id="topHeaderSearch" method="post">
        <div class="input-search-box">
          <div class="btn-group">
            <button type="button" id="searchType" class="btn search-selectBtn dropdown-toggle " data-toggle="dropdown">
              <?php if($do == 'goodslist') { ?>商品 <?php } elseif($do == 'tasklist') { ?>任务 <?php } elseif($do == 'sellerlist') { ?>服务商 <?php } else { ?> <?php if($task_open) { ?>任务 <?php } elseif(!$task_open&&$shop_open) { ?>商品 <?php } ?> <?php } ?>
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu search-selectMenu" id="searchOption">
              <?php if($task_open) { ?>
              <li <?php if($do=='tasklist' ||($do !='goodslist' &&$do !='sellerlist' )) { ?>class="active" <?php } ?>>
                <a href="javascript:void(0);" rel="tasklist">任务</a>
              </li>
              <?php } ?> <?php if($shop_open) { ?>
              <li <?php if($do=='goodslist' ) { ?>class="active" <?php } ?>>
                <a href="javascript:void(0);" rel="goodslist">商品</a>
              </li>
              <?php } ?>
              <li <?php if($do=='sellerlist' ) { ?>class="active" <?php } ?>>
                <a href="javascript:void(0);" rel="sellerlist">服务商</a>
              </li>
            </ul>
          </div>
          <div class="form-group search-input po_re" id="div_search_input">
            <input type="text" name="ky" id="search" class="form-control input-search" placeholder="请输入关键词" value="<?php if($ky) { ?><?php echo $ky;?><?php } ?>" onkeyup="searchlist();" onfocus="searchlist();" data-toggle="dropdown" x-webkit-speech="" x-webkit-grammar="bUIltin:search" lang="zh-CN" aria-haspopup="true" aria-expanded="false" autocomplete="off">
            <ul class="dropdown-menu" role="menu" id="hotsearch" aria-labelledby="dLabel" style="display:none">
            </ul>
          </div>
          <button type="submit" class="btn btn-search">
            搜索
          </button>          
        </div>

        </form>
      </div>
      <!-- header-search end-->
      <?php if($arrTopIndus && $indus_arr) { ?>
      <div class="header-keywords hot-search-box">
        热门搜索： <?php if(is_array($arrTopIndus)) { foreach($arrTopIndus as $k => $v) { ?> <?php if($indus_arr[$v['indus_id']]['indus_name']) { ?>
        <a href="index.php?do=tasklist&i=<?php echo $v['indus_id']?>" class="marked marked-tags"><?php echo $indus_arr[$v['indus_id']]['indus_name'];?></a> <?php } ?> <?php } } ?>
      </div>
      <?php } ?>
      <!-- header-keywords end-->
    </div>
    <!-- header-function end-->
  </div>
  <script type="text/javascript">
  function searchlist() {
    var ky = $("#search").val();
    var searchvalue1 = $("#searchOption li:first").hasClass('active');
    var searchvalue2 = $("#searchOption li:eq(1)").hasClass('active');
    var searchvalue3 = $("#searchOption li:eq(2)").hasClass('active');
    var ky = $("#search").val();
    if (searchvalue2 == true) {
      search = '2';
    } else if (searchvalue3 == true) {
      search = '3';
    } else {
      search = '1';
    }
    $.post("index.php?do=searchlist&ky=" + ky, {
      search: search
    }, function(data) {
      if (data) {
        $("#hotsearch").replaceWith(data);
        $("#div_search_input").addClass('open');
      } else {
        $("#hotsearch").hide();
      }

    })
    $("#searchOption>li").click(function() {
      if ($(this).hasClass('active') == true) {
        if ($(this).text().contains('商品')) {
          $.post("index.php?do=searchlist&ky=" + ky, {
            search: 2
          }, function(data) {
            $("#hotsearch").replaceWith(data);
          })
        } else if ($(this).text().contains('服务商')) {
          $.post("index.php?do=searchlist&ky=" + ky, {
            search: 3
          }, function(data) {
            $("#hotsearch").replaceWith(data);
          })
        } else {
          $.post("index.php?do=searchlist&ky=" + ky, {
            search: 1
          }, function(data) {
            $("#hotsearch").replaceWith(data);
          })
        }
      }
    });
  }
  </script>
</header>
<!-- /header -->

<nav class="site-themeNav">
  <div class="container" style="position: relative;z-index: 9;">
    <div class="navbar nav-primary navbar-kppwdefault">
      <div class="navbar-header">
        <button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
          <span class="sr-only">切换导航</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <span class="navbar-actived">网站导航</span>
        <input type="hidden" id="route" value="<?php echo $do;?>">

        <div class="all-tasktype-header">
          <span>全部<?php if($do == 'goodslist' || $do == 'goods') { ?>商品<?php } else { ?>任务<?php } ?>分类</span> <span class="fa fa-exchange"></span><i class="fa fa-angle-down"></i>
        </div>

        <ul class="category-down" id="taskNavMenu">
          <?php if(is_array($arrNewIndusCt)) { foreach($arrNewIndusCt as $key => $value) { ?>
          <li class="category-item">
            <div class="category-top">
              <?php if(is_array($value)) { foreach($value as $k1 => $v1) { ?>
              <?php if($k1<2) { ?>
              <a href="index.php?do=tasklist&pd=<?php echo $arrIndusPt[$key]['indus_id'];?>&i=<?php echo $v1['indus_id']?>"  <?php if($v1['is_recommend']==1) { ?>class="hot"<?php } ?>  tabindex="-1"><?php echo $v1['indus_name']?></a>、
              <?php } ?>
            <?php } } ?>
              <i class="fa fa-angle-right"></i>
            </div>
            <div class="category-inner">
              <h3 class="category-inner-title"><a href="index.php?do=tasklist&pd=<?php echo $arrIndusPt[$key]['indus_id'];?>&i=0">全部<?php echo $arrIndusPt[$key]['indus_name'];?></a></h3>
          <?php if(is_array($value)) { foreach($value as $k2 => $v2) { ?>
                <a href="index.php?do=tasklist&pd=<?php echo $arrIndusPt[$key]['indus_id'];?>&i=<?php echo $v2['indus_id']?>" tabindex="-1" <?php if($v2['is_recommend']==1) { ?>class="hot"<?php } ?>><?php echo $v2['indus_name']?></a>
           <?php } } ?>
            </div>
          </li>
          <?php } } ?>
        </ul>

        <ul class="category-down" id="shopNavMenu">
         <?php if(is_array($arrNewIndusCs)) { foreach($arrNewIndusCs as $key => $value) { ?>
          <li class="category-item">
            <div class="category-top">
              <?php if(is_array($value)) { foreach($value as $k1 => $v1) { ?>
              <?php if($k1<2) { ?>
              <a href="index.php?do=goodslist&pd=<?php echo $arrIndusPs[$key]['indus_id'];?>&i=<?php echo $v1['indus_id']?>"  <?php if($v1['is_recommend']==1) { ?>class="hot"<?php } ?>  tabindex="-1"><?php echo $v1['indus_name']?></a>、
        <?php } ?>
            <?php } } ?>
              <i class="fa fa-angle-right"></i>
            </div>
            <div class="category-inner">
              <h3 class="category-inner-title"><a href="index.php?do=goodslist&pd=<?php echo $arrIndusPs[$key]['indus_id'];?>&i=0">全部<?php echo $arrIndusPs[$key]['indus_name'];?></a></h3>
          <?php if(is_array($value)) { foreach($value as $k2 => $v2) { ?>
                <a href="index.php?do=goodslist&pd=<?php echo $arrIndusPs[$key]['indus_id'];?>&i=<?php echo $v2['indus_id']?>" tabindex="-1" <?php if($v2['is_recommend']==1) { ?>class="hot"<?php } ?>><?php echo $v2['indus_name']?></a>
           <?php } } ?>
            </div>
          </li>
              <?php } } ?>
        </ul>

      </div>
      <!-- navbar-header -->
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav nav-primary navbar-kppwdefault">
        <?php if(is_array($nav_arr)) { foreach($nav_arr as $k => $v) { ?>
         <li <?php if($v['nav_style']==$do ||$v['nav_style']==$strNavActive) { ?>class="active"<?php } ?> ><a href="<?php echo $v['nav_url'];?>" <?php if($v['newwindow']) { ?>target="_blank"<?php } ?>><span><?php echo $v['nav_title'];?></span></a></li>
                <li class="line"></li>
        <?php } } ?>
        </ul>
        <!--<ul class="nav navbar-nav navbar-right">
          <li><a href="#">诚信保障</a></li>
          <li><a href="#">VIP特权</a></li>
          <li><a href="#">增值工具</a></li>
        </ul>-->
      </div><!--/.nav-collapse -->       
    </div>
    <!--/.navbar -->
 
  </div>
  <!--/.container -->
  
</nav>
<!--/.site-nav -->
<script>

  $(function(){
    
   var route = $("#route").val();
   
    $(".category-down li:nth-child(12)").nextAll("li").hide();
    
    //隐藏商品分类
    if (route == 'goodslist' || route == 'goods') {
        $("#taskNavMenu").hide();
    } else {
        $("#shopNavMenu").hide();
    }
    
    var winWeight = $(window).width();


    //导航全部分类下拉菜单
    if( winWeight > 769){
      $('.navbar-header').hover(function(){
        var nav = $(".all-tasktype-header .fa-exchange");
        var navName = nav.prev("span").text();

        if (navName == '全部任务分类') {
          $("#taskNavMenu").show();
        } else {
          $("#shopNavMenu").show();
        }

        nav.click(function() {
          var content = $(this).prev("span").text();
          if (content == '全部任务分类') {
         
              $(this).prev("span").text('全部商品分类');
              $("#taskNavMenu").hide();

              $("#shopNavMenu").show();
          } else {
           
              $(this).prev("span").text('全部任务分类');
              $("#shopNavMenu").hide();
              $("#taskNavMenu").show();
          }
        });
    

      },function(){
        $("#taskNavMenu").hide();
        $("#shopNavMenu").hide();
        $(".all-tasktype-header .fa-exchange").unbind('click')
      });
    };
    if( winWeight < 768){
      $("#taskNavMenu").hide();
      $("#shopNavMenu").hide();      
    }


  })
</script>
<?php } ?>
<nav class="bread-nav">
  <div  class="container">
    <ol class="breadcrumb">
      <li>您的位置：</li>
  <?php if(is_array($arrBreadcrumbs)) { foreach($arrBreadcrumbs as $k => $v) { ?>
      	<li><a href="<?php echo $v['url']?>"><?php echo $v['name']?></a></li>
  <?php } } ?>
    </ol>
  </div>
</nav>
<!-- bread-nav end -->
<link href="static/js/jqplugins/fancybox/jquery.fancybox.min.css" rel="stylesheet">
<script src="static/js/jqplugins/fancybox/jquery.fancybox.min.js"></script>
<script src="static/js/uploadify/jquery.uploadify.min.js?r=<?php echo RANDOM_PARA;?>" type="text/javascript"></script>
<link href="static/js/uploadify/uploadify.css" rel="stylesheet">
<div class="container">
<!-- /.winners -->

<!-- detail start-->
<div class="detail">
<div class="detail-header">
<div class="detail-header-pic">
<a href="index.php?do=seller&id=<?php echo $arrTaskInfo['uid'];?>" class="" title="<?php echo $arrTaskInfo['username'];?>"> <?php echo  keke_user_class::get_user_pic($arrTaskInfo['uid'],'middle') ?>
</a> 
</div>
<div class="detail-ctrl">
<div class="btn-group">
<?php if($arrProcess_can['work_hand']&&$gUid) { ?> <a href="index.php?do=taskhandle&op=matchquote&taskId=<?php echo $arrTaskInfo['task_id'];?>" class="btn btn-primary btn-lg">我要抢标</a> <?php } ?>
</div>
</div>
<!-- detail-ctrl end -->
<div class="detail-header-body">
<h1 class="detail-title">
<span class="money"> <?php echo  keke_glob_class::showTaskCash($arrTaskInfo['task_id']); ?>
</span> <?php echo $arrTaskInfo['task_title'];?> <?php if(is_array($arrPayitemShow)) { foreach($arrPayitemShow as $k => $v) { ?> <span class="marked <?php echo $v['style']?>"><?php echo $v['abbr']?></span> <?php } } ?>
</h1>
<div class="detail-obj">
<div class="detail-obj-item">
<div class="method">
<a href="index.php?do=tasklist&m=<?php echo $arrTaskInfo['model_id'];?>" class="method-type" data-toggle="popover" data-placement="bottom" data-html="true" data-trigger="hover" data-content="双方支付诚意金后威客开始工作，工作完成后雇主确认验收，任务完成"> <?php echo $arrModelInfo['model_name'];?>模式 <i class="fa fa-angle-down"></i>
</a> <span> <i class="fa fa-money"></i> <?php if($arrTaskInfo['task_status'] == '10') { ?> 审核失败 <?php } else { ?> <?php if(floatval($arrTaskInfo['real_cash'])) { ?> <?php if($arrTaskInfo['task_status'] == '0') { ?> 未支付 <?php } elseif($arrTaskInfo['task_status'] == '1') { ?> 待审核 <?php } else { ?> 已支付诚意金费用：<sub>￥</sub><?php echo $arrTaskInfo['real_cash'];?> <?php } ?> <?php } else { ?> <?php if($arrTaskInfo['task_status'] == '0') { ?> 未支付 <?php } elseif($arrTaskInfo['task_status'] == '1') { ?> 待审核 <?php } else { ?> 免诚意金费用 <?php } ?> <?php } ?> <?php } ?>
</span>
</div>
</div>
</div>
</div>
<!-- detail-header-body end -->
</div>
<!-- detail-header end -->
<div class="detail-progress">
<h2 class="detail-title-min">项目进度</h2>
<ul class="step step6">
<?php if($arrTaskInfo['task_status']==11 || $arrTaskInfo['task_status']==7) { ?> <?php if(is_array($arrProjectProgress)) { foreach($arrProjectProgress as $k => $v) { ?>
<li class="step-item <?php if($frontStatus>=$v['status']) { ?> action <?php } ?>"><span class="step-num"> <?php if($v['status'] < $frontStatus) { ?> <i class="fa fa-check"></i> <?php } else { ?><?php echo $k;?><?php } ?>
</span>
<div class="step-text step-bottom">
<p>
<strong class="step-title"><?php echo $v['desc'];?><?php if($v['status'] == $frontStatus) { ?>(冻结中)<?php } ?></strong>
</p>
<?php if($v['time']&& $frontStatus >=$v['status']) { ?>
<p>
<?php echo date('Y-m-d',$v['time']) ?>
</p>
<?php } ?>
</div></li> <?php } } ?> <?php } else { ?> <?php if(is_array($arrProjectProgress)) { foreach($arrProjectProgress as $k => $v) { ?>
<li class="step-item <?php if($arrTaskInfo['task_status']>=$v['status']) { ?> action <?php } ?>"><span class="step-num"> <?php if($v['status'] < $arrTaskInfo['task_status']) { ?> <i class="fa fa-check"></i> <?php } else { ?><?php echo $k;?><?php } ?>
</span>
<div class="step-text step-bottom">
<p>
<strong class="step-title"><?php echo $v['desc'];?></strong>
</p>
<?php if($v['time']&& $arrTaskInfo['task_status'] >=$v['status']) { ?>
<p>
<?php echo date('Y-m-d',$v['time']) ?>
</p>
<?php } ?>
</div> <?php if(in_array($v['status'], array(2,3,4,5))&&$arrTaskInfo['task_status'] >=$v['status']) { ?>
<div class="step-text step-top">
<?php if($arrTaskInfo['task_status'] ==$v['status']) { ?>
<p><?php echo $v['timedesc'];?></p>
<p>
<span class="red d_time" ed="<?php echo $v['timeing'];?>"></span>
</p>
<?php } ?>
</div> <?php } ?></li> <?php } } ?> <?php } ?>
</ul>
</div>
<div class="detail-body">
<h2 class="detail-title-min">需求描述</h2>
<div class="detail-img">
<?php if(is_array($arrTaskPics)) { foreach($arrTaskPics as $k => $v) { ?> <a class="detail-img-item" href="<?php echo $v?>" rel="detail-img-group"> <img src="<?php echo $v?>" alt="">
</a> <?php } } ?>
</div>
<div class="detail-desc">
<?php echo htmlspecialchars_decode($arrTaskInfo['task_desc']) ?>
</div>
<div class="detail-additional <?php if(!$arrTaskInfo['ext_desc']) { ?> hidden <?php } ?>">
<h2 class="detail-title-min">
补充需求
<time datetime="<?php echo date('Y-m-d H:i:s',$arrTaskInfo['ext_time']) ?>">
<?php echo date('Y-m-d H:i:s',$arrTaskInfo['ext_time']) ?>
</time>
</h2>
<?php echo htmlspecialchars_decode($arrTaskInfo['ext_desc']) ?>
</div>
<?php if($arrTaskInfo['task_file']) { ?>
<h2 class="detail-title-min">
附件下载 <span class="label label-default"> <?php echo count($arrTaskFiles); ?>
</span>
</h2>
<ul class="detail-affix">
<?php if(is_array($arrTaskFiles)) { foreach($arrTaskFiles as $v) { ?>
<li class="detail-affix-item"><a href="<?php echo $v['save_name'];?>" target="_blank"> <i class="fa fa-download"></i> <?php echo $v['file_name'];?>
</a></li> <?php } } ?>
</ul>
<?php } ?>
<!--     <h2 class="detail-title-min">地图</h2>
      <div class="detail-map">
        <figure>
          <figcaption>
            <address>位置：黄浦江上的的卢浦大桥</address>
          </figcaption>
          <img src="http://pic.yupoo.com/shuart/Du8Agxqc/p5mT7.png" alt="">
        </figure>
      </div> -->
<div class="poster-ctrl">
<?php if($arrProcess_can['reqedit']) { ?> <a href="javascript:reqedit();void(0);" class="btn btn-primary btn-sm"> <i class="fa fa-ellipsis-h"></i> 补充需求
</a> <?php } ?>
</div>
</div>
<!-- detail-body end -->
<div class="detail-footer">
<ul class="detail-footer-meta for-poster">
<li class="for-poster-item">雇主： <a href="index.php?do=seller&id=<?php echo $arrTaskInfo['uid'];?>" title="<?php echo $arrTaskInfo['username'];?>"><?php echo $arrTaskInfo['username'];?></a>
</li>
<li class="for-poster-item"><i class="fa fa-clock-o"></i> 发布时间： <?php echo date('Y-m-d H:i:s',$arrTaskInfo['start_time']) ?></li>
<?php if($regionCfg['region_search_switch']== '1' && $regionCfg['region_search_task']=='1') { ?>
<li class="for-poster-item">					
地点：<?php echo $province['name'];?><?php echo $city['name'];?><?php echo $area['name'];?>
</li>
<?php } ?>
<li class="for-poster-item">编号：#<?php echo $arrTaskInfo['task_id'];?></li> <?php if($arrProcess_can['task_report']&&$arrTaskInfo['uid'] != $gUid&&$gUid) { ?>
<li class="for-poster-item"><a href="javascript:report(2,'task','<?php echo $arrTaskInfo['uid'];?>','<?php echo $arrTaskInfo['task_id'];?>','<?php echo $arrTaskInfo['task_id'];?>');void(0);" class="action-report"> <i class="fa fa-bell"></i> 举报
</a></li> <?php } ?>
</ul>
<ul class="detail-footer-meta for-user">
<li class="for-user-item">
<div class="bdsharebuttonbox">
<a href="#" class="bds_more" data-cmd="more">分享到：</a> <a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina"></a> <a title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq"></a> <a title="分享到人人网" href="#" class="bds_renren" data-cmd="renren"></a> <a title="分享到微信" href="#" class="bds_weixin" data-cmd="weixin"></a> <a title="分享到复制网址" href="#" class="bds_copy" data-cmd="copy"></a> <a title="分享到打印" href="#" class="bds_print" data-cmd="print"></a>
</div> <script>
window._bd_share_config = {
"common" : {
"bdSnsKey" : {},
"bdText" : "",
"bdMini" : "2",
"bdMiniList" : false,
"bdPic" : "",
"bdStyle" : "1",
"bdSize" : "16"
},
"share" : {}
};
with (document)
0[(getElementsByTagName('head')[0] || body)
.appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='
+ ~(-new Date() / 36e5)];
</script>
</li> <?php if($gUid&&$gUid!=$arrTaskInfo['uid']) { ?>
<li class="for-user-item"><?php if($arrTaskInfo['favorite']) { ?> <a id="favorite<?php echo $arrTaskInfo['task_id'];?>" href="javascript:cancelFavorite('task',<?php echo $arrTaskInfo['task_id'];?>);" title="取消收藏" class="action-collect on"> <i class="fa fa-star"></i>
</a> <?php } else { ?> <a id="favorite<?php echo $arrTaskInfo['task_id'];?>" href="javascript:addFavorite('task',<?php echo $arrTaskInfo['task_id'];?>);" title="收藏" class="action-collect"> <i class="fa fa-star"></i>
</a> <?php } ?>
</li> <?php } ?>
</ul>
</div>
<!-- detail-footer end -->
</div>
<!-- detail end-->
<div class="for-advertise">
<?php keke_loaddata_class::ad_show('TASKINFO_HEAD','task','') ?>
</div>
<!-- for-advertise end -->
<div class="tab tab-darken" id="detail">
<a href="<?php echo $strUrl;?>&view=work#detail" <?php if($view== 'work') { ?>    class="selected"<?php } ?>> 稿件 <span class="badge"><?php echo $arrTaskInfo['work_num'];?></span>
</a> <a href="<?php echo $strUrl;?>&view=comment#detail" <?php if($view== 'comment') { ?> class="selected"<?php } ?>> 留言 <span class="badge"><?php echo $arrTaskInfo['leave_num'];?></span>
</a> <a href="<?php echo $strUrl;?>&view=mark#detail" <?php if($view== 'mark') { ?>    class="selected"<?php } ?>> 评价 <span class="badge"><?php echo $arrTaskInfo['mark_num'];?></span>
</a>
</div>
<!-- tab end -->
<?php require keke_tpl_class::template ( "task/" . $arrModelInfo ['model_code'] . "/tpl/" . $_K ['template'] . "/".$view ); ?>
<div class="for-advertise">
<?php keke_loaddata_class::ad_show('TASKINFO_BOTTOM','task','') ?>
</div>
<!-- for-advertise end -->

<!-- #main end -->
<!-- 任务增值项目 start -->
<div id="side">

    <div class="box-body site-security">
      <h2 class="min-title">诚信威客网站，服务更放心</h2>
      <ul>
          <li class="col3">
            <p>
              <span class="fa-stack fa-2x">
                <i class="fa fa-circle fa-stack-2x text-success"></i>
                <i class="fa fa-yen fa-stack-1x fa-inverse"></i>
              </span>
            </p>
            <p>担保交易</p>
          </li>
          <li class="col3">
            <p>
              <span class="fa-stack fa-2x">
                <i class="fa fa-circle fa-stack-2x text-success"></i>
                <i class="fa fa-shield fa-stack-1x fa-inverse"></i>
              </span>
            </p>
            <p>诚信保障</p>
          </li>
          <li class="col3">
            <p>
              <span class="fa-stack fa-2x">
                <i class="fa fa-circle fa-stack-2x text-success"></i>
                <i class="fa fa-user fa-stack-1x fa-inverse"></i>
              </span>
            </p>
            <p>威客认证</p>
          </li>
      </ul>
    </div>
<?php if(TOOL === TRUE) { ?>
   <?php if($uid==$arrTaskInfo['uid']&&$arrPayitemLists&&$arrTaskInfo['task_status']<4) { ?>
    <div class="box-header">
      <h2 class="min-title">提升效果，你可能还需要</h2>
    </div>
    <div class="box-body apply-for-service">
    	<?php if(is_array($arrPayitemLists)) { foreach($arrPayitemLists as $k => $v) { ?>
      <dl>
        <dt>
          <a  href="javascript:payitem('task','<?php echo $arrTaskInfo['task_id'];?>','<?php echo $arrTaskInfo['uid'];?>');void(0);"  class="btn btn-success btn-sm" role="button"><?php echo $v['item_name']?></a>（<span class="money"><sub>￥</sub><?php echo $v['item_cash']?> 元</span> / <?php echo $v['item_standard']?>）
        </dt>
        <dd><?php echo htmlspecialchars_decode($v['item_desc']); ?></dd>
      </dl>
  <?php } } ?>
    </div>
   <?php } ?>
   <?php } ?>
    <div class="box-header">
      <h2 class="min-title">同类任务</h2>
    </div>
    <div class="box-body same-type">
      <ul class="min-list">
      	 <?php if($arrSimpleTasks) { ?>
         <?php if(is_array($arrSimpleTasks)) { foreach($arrSimpleTasks as $k => $v) { ?>
        <li><a href="index.php?do=task&id=<?php echo $v['task_id']?>" title="<?php echo $v['task_title']?>"><span class="money"> <?php echo  keke_glob_class::showTaskCash($v['task_id']); ?></span> <?php echo $v['task_title']?></a></li>
     <?php } } ?>
 <?php } else { ?>
暂无数据
 <?php } ?>
      </ul>
    </div>

    <div class="box-header">
      <h2 class="min-title">推荐服务商</h2>
    </div>
    <div class="box-body">
      <ul class="record-list img">
          <?php if($arrRecommShops) { ?>
          <?php if(is_array($arrRecommShops)) { foreach($arrRecommShops as $k => $v) { ?>
          <li>
            <a href="index.php?do=seller&id=<?php echo $v['uid']?>" class="avatar" title="<?php echo $v['shop_name']?>">
              <?php echo  keke_user_class::get_user_pic($v['uid'],'middle') ?>
            </a>

            <div class="avatar-detail">
              <p class="record-list-title">
                <a href="index.php?do=seller&id=<?php echo $v['uid']?>" title="<?php echo $v['shop_name']?>">
                  <?php echo $v['shop_name']?>
                </a>
              </p>
              <p class="record-list-meta">好评率 <span><?php echo kekezu::favorableRate($v['uid'],1) ?><sub>%</sub></span></p>
              <p>
                <span class="marked marked-tags"><?php echo $indus_p_arr[$v['indus_pid']]['indus_name'];?></span>
                <span class="marked marked-tags"><?php echo $indus_c_arr[$v['indus_id']]['indus_name'];?></span>
              </p>
            </div>
          </li>
  <?php } } ?>
  <?php } else { ?>
暂无数据
  <?php } ?>
        </ul>
    </div><!-- 推荐服务商 & box-body end -->


</div><!-- #side end -->
<!-- 任务增值项目 end -->
</div>
<!-- container end -->
<script src="static/js/model/task/common.js" charset="<?php echo CHARSET;?>"></script>
<script type="text/javascript">
var uid = '<?php echo $uid;?>';
var taskId = '<?php echo $id;?>';
var strUrl = '<?php echo $strUrl;?>';
var username = '<?php echo $username;?>';
var jsonWorkStatus = <?php echo $jsonWorkStatus?>;
</script>
<script src="task/match/tpl/default/matchtask.js" charset="<?php echo CHARSET;?>"></script>
<script type="text/javascript">
$(function() {
$('.manuscript-img-item').fancybox({
openEffect : 'none',
closeEffect : 'none',
padding : 5,
tpl : {
error : '<p class="fancybox-error">内容无法加载。<br/>请稍后重试。</p>'
},
helpers : {
title : {
type : 'over'
}
}
});
$('.detail-img-item').fancybox({
openEffect : 'none',
closeEffect : 'none',
padding : 5,
tpl : {
error : '<p class="fancybox-error">内容无法加载。<br/>请稍后重试。</p>'
},
helpers : {
title : {
type : 'over'
}
}
});
//弹出任务类型详细
$('.method-type').popover();
})
</script>
<div class="footer">
  <div class="footer_c">
    <dl>
      <dt>新手指南</dt>
      <dd>注册新用户</dd>
      <dd>雇主入门</dd>
      <dd>服务商入门</dd>
      <dd>规则中心</dd>
    </dl>
    <dl>
      <dt>我是雇主</dt>
      <dd>发布需求</dd>
      <dd>挑选机构</dd>
      <dd>检测认证</dd>
      <dd>个人中心</dd>
    </dl>
    <dl>
      <dt>我是机构</dt>
      <dd>投标赚钱</dd>
      <dd>开店赚钱</dd>
      <dd>赚钱利器</dd>
      <dd>互动取经</dd>
    </dl>
    <dl>
      <dt>交易担保</dt>
      <dd>言证网担保</dd>
      <dd>争议仲裁</dd>
      <dd>雇主防骗</dd>
      <dd>服务商防骗</dd>
    </dl>
    <div class="fwb"><img src="/style/img/server.jpg" alt="" /> </div>
    <div class="clear"></div>
  </div>
</div>
<div class="banquan"> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span><br/>
  <a rel="nofollow" href="#" target="_blank">Copyright 2005-2016 zbj.com 版权所有 渝ICP备10202274-1号 渝B2-20080005</a> <br/>
  友情链接： <a href="#" target="_blank">关于我们</a><span class="split">|</span><a href="#" target="_blank">关于我们</a><span class="split">|</span><a href="#" target="_blank">关于我们</a><span class="split">|</span><a href="#" target="_blank">关于我们</a><span class="split">|</span><a href="#" target="_blank">关于我们</a><span class="split">|</span> </div>
<div class="banquan">
  <ul>
    <li><img src="/style/img/jgou (1).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (2).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (3).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (4).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (5).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (6).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (7).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (8).png" alt="可信网站" /></li>
  </ul>
</div>


</body>
</html>
<?php keke_tpl_class::ob_out();?>